package com.zj.dmsproxy.enums;

/**
 * @author arthur_zhou
 * @date 2023/11/2 17:55
 */
public enum QueryEnum {
    /**
     * 关系
     */
    AND("$and"),
    OR("$or"),
    NE("$ne"),
    IN("$in"),
    NIN("$nin"),
    GT("$gt"),
    GE("$gte"),
    LT("$lt"),
    LE("$lte"),
    LIKE("$like"),
    N_LIKE("$nlike"),
    ;

    private final String relation;

    QueryEnum(String relation) {
        this.relation = relation;
    }

    public String getRelation() {
        return relation;
    }
}
